package com.xbongbong.parent.interfaces;

import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.pojo.dto.FormDataListDTO;
import com.xbongbong.paas.toolbox.exception.XbbException;

import java.util.List;

/**
 * 关联产品处理类
 * @author 吴峰
 * @date 2022/05/23 16:17
 */
public interface BusinessLinkProductService {

    /**
     * 业务类型
     * @return
     */
    List<Integer> businessType();

    /**
     * 重构于 com.xbongbong.saas.help.SaasListHelp#analysisListProductData(java.util.List, java.util.List, java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, com.xbongbong.paas.pojo.dto.FormDataListDTO)
     * @param formDataListDTO
     * @param paasFormDataESList
     * @param explainList
     * @param page
     * @param pageSize 没加则返回一行，加了则返回指定行数
     * @throws XbbException
     */
    void analysisListProductData(FormDataListDTO formDataListDTO , List<PaasFormDataEntityExt> paasFormDataESList, List<FieldAttrEntity>  explainList, Integer page, Integer pageSize) throws XbbException;
}
